package com.bw.paper.mvp.di;

import com.bw.paper.mvp.contact.SplashContract;
import com.bw.paper.mvp.model.SplashModel;

import dagger.Module;
import dagger.Provides;


@Module
public class SplashModules {
    private SplashContract.ISplashView view;

    public SplashModules(SplashContract.ISplashView view) {
        this.view = view;
    }

    @Provides
    public SplashContract.ISplashView providerView() {
        return view;
    }

    @Provides
    public SplashContract.ISplashModel providerModel(SplashModel model) {
        return model;
    }
}
